var initState = {
  userMenu: {
    Childrens: []
  },
  userDetails: {}
}

const stageTodo = (state = initState, action) => {
  switch (action.type) {
    case 'CHANGE_USERMENU':
      return Object.assign({}, state, {userMenu: action.data});
    case 'CHANGE_USERDATA':
      return Object.assign({}, state, {userDetails: action.data});
    default:
      return state;
  }
};
module.exports = stageTodo
